package com.pro.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class JsBeforeUser {

  private Integer userId;//id
  private String photoImg;//照片
  private String account;//用户账户
  private String nickname;//用户昵称
  private Integer userCode;//用户学号
  private String avatarUrl;//头像路径
  private Integer studyDate;//学习时长
  private Integer status;//状态，2正常，3禁言，4注销，5封停
  private String freestyle;//个性签名
  private String idCard;//身份证号码
  private String phone;//手机号码
  private String sex;//用户性别
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date birthDate;//出生日期
  private String email;//邮箱
  private String remarks;//备注（介绍）
  private String intention;//求职意向
  private String consumption;//消费总金额
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createDate;//注册时间
  private String fullName;//用户真实姓名

  private String courseName;
  private String courseIntro;

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public void setCourseIntro(String courseIntro) {
    this.courseIntro = courseIntro;
  }

  public String getCourseName() {
    return courseName;
  }

  public String getCourseIntro() {
    return courseIntro;
  }

  public JsBeforeUser() {
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getPhotoImg() {
    return photoImg;
  }

  public void setPhotoImg(String photoImg) {
    this.photoImg = photoImg;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public Integer getUserCode() {
    return userCode;
  }

  public void setUserCode(Integer userCode) {
    this.userCode = userCode;
  }

  public String getAvatarUrl() {
    return avatarUrl;
  }

  public void setAvatarUrl(String avatarUrl) {
    this.avatarUrl = avatarUrl;
  }

  public Integer getStudyDate() {
    return studyDate;
  }

  public void setStudyDate(Integer studyDate) {
    this.studyDate = studyDate;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getFreestyle() {
    return freestyle;
  }

  public void setFreestyle(String freestyle) {
    this.freestyle = freestyle;
  }

  public String getIdCard() {
    return idCard;
  }

  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }

  public Date getBirthDate() {
    return birthDate;
  }

  public void setBirthDate(Date birthDate) {
    this.birthDate = birthDate;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getIntention() {
    return intention;
  }

  public void setIntention(String intention) {
    this.intention = intention;
  }

  public String getConsumption() {
    return consumption;
  }

  public void setConsumption(String consumption) {
    this.consumption = consumption;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public String getFullName() {
    return fullName;
  }

  public void setFullName(String fullName) {
    this.fullName = fullName;
  }

  @Override
  public String toString() {
    return "JsBeforeUser{" +
            "userId=" + userId +
            ", photoImg='" + photoImg + '\'' +
            ", account='" + account + '\'' +
            ", nickname='" + nickname + '\'' +
            ", userCode=" + userCode +
            ", avatarUrl='" + avatarUrl + '\'' +
            ", studyDate=" + studyDate +
            ", status=" + status +
            ", freestyle='" + freestyle + '\'' +
            ", idCard='" + idCard + '\'' +
            ", phone='" + phone + '\'' +
            ", sex='" + sex + '\'' +
            ", birthDate=" + birthDate +
            ", email='" + email + '\'' +
            ", remarks='" + remarks + '\'' +
            ", intention='" + intention + '\'' +
            ", consumption='" + consumption + '\'' +
            ", createDate=" + createDate +
            '}';
  }
}
